package com.wss.common.wechat.massage.app;

import javax.xml.bind.annotation.XmlElement;

/**
 * @author 赵飞
 * @version V1.0
 * @Title: 应用级消息
 * @Package com.wss.common.wechat.massage.app
 * @Description:
 * @date 2017/9/5
 */
public abstract class AppMessage {

	/**
	 * 消息来源
	 */
	private String AppId;

	/**
	 * 消息创建时间 （整型）
	 */
	private Long CreateTime;

	/**
	 * 获取 消息类型
	 *
	 * @return 消息类型
	 */
	public abstract String getInfoType();

	public Long getCreateTime() {
		return CreateTime;
	}

	@XmlElement(name = "CreateTime")
	public void setCreateTime(Long CreateTime) {
		this.CreateTime = CreateTime;
	}

	public String getAppId() {
		return AppId;
	}
	@XmlElement(name = "AppId")
	public void setAppId(String appId) {
		AppId = appId;
	}
}
